package nyx.pojo;

import java.util.Date;

public class Record {

	
	private int rId;
	private int readerId;
	private int bId;
	private Date borrowDate;
	private Date returnDate;

	private String bName;
	private String author;
	public int getrId() {
		return rId;
	}
	public void setrId(int rId) {
		this.rId = rId;
	}
	public int getReaderId() {
		return readerId;
	}
	public void setReaderId(int readerId) {
		this.readerId = readerId;
	}
	public int getbId() {
		return bId;
	}
	public void setbId(int bId) {
		this.bId = bId;
	}
	public Date getBorrowDate() {
		return borrowDate;
	}
	public void setBorrowDate(Date borrowDate) {
		this.borrowDate = borrowDate;
	}
	public Date getReturnDate() {
		return returnDate;
	}
	public void setReturnDate(Date returnDate) {
		this.returnDate = returnDate;
	}
	public String getbName() {
		return bName;
	}
	public void setbName(String bName) {
		this.bName = bName;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	@Override
	public String toString() {
		return "Record [rId=" + rId + ", readerId=" + readerId + ", bId=" + bId
				+ ", borrowDate=" + borrowDate + ", returnDate=" + returnDate
				+ ", bName=" + bName + ", author=" + author + "]";
	}
	
	
}
